//
//  LNWaterfallFlowFooterView.m
//  WaterfallFlowDemo
//
//  Created by Lining on 15/5/3.
//  Copyright (c) 2015年 Lining. All rights reserved.
//

#import "LNWaterfallFlowFooterView.h"

@implementation LNWaterfallFlowFooterView


- (UIActivityIndicatorView *)indicator
{
	if (!_indicator)
	{
		_indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray];
		[self addSubview:_indicator];
		
		_indicator.centerX = self.width/2.0;
		_indicator.centerY = self.height/2.0;
	}
	
	return _indicator;
}
@end
